home *** CD-ROM | disk | FTP | other *** search
- Path: news.nkn.net!news
- From: kidzi@dfw.nkn.edu (Kevin Idzi)
- Newsgroups: comp.lang.c++
- Subject: C++ Questions
- Date: Fri, 19 Apr 1996 19:46:56 GMT
- Organization: National Knowledge Network
- Message-ID: <3177ecaa.178966716@news.nkn.net>
- NNTP-Posting-Host: port9.nkn.edu
- X-Newsreader: Forte Agent .99d/32.168
-
- I have a question on C++. which I am currently learning. I am
- attempting to convert some of my old Pascal Code for a game i made,
- Duckhunt, yet I cannot find out how to convert 2 different types of
- things. First of all, this should be easy, yet it slips me... How do
- you include an .OBJ file within the code of the program? I have a
- binary file i used binobj to convert, and i need it within my program
- for the graphic routines to run properly.
-
- Secondly.. once i have that object in, using pascal, i was able to use
- the command:
- move(mem[seg(screens1):0],mem[$b800:0],4000);
-
- Now what this does, is using the obj that was linked using {$L <.obj
- file} within TPascal, it would find the memory segment, and copy it,
- or move it to the screen in the desired location. I am in major need
- of help here:) .. could someone please help me out? Thanks alot if you
- can!
-